import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Index from "../components/Index";
import Course from "../components/Course";
import usershow from "../components/usershow";
import zhaomima from "../components/zhaomima";
import Detail from "../components/Detail";
// import CourseBody from "../components/CourseBody";

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    {
      path: '/',
      component: Index
    }, {
      path: '/course',
      component: Course
    }, {
      path: '/usershow',
      component: usershow
    },{
      path: '/zhaomima',
      component: zhaomima
    },{
      path: '/Detail',
      component: Detail
    },
  ]
})
